<template>
  <div class="table-box">
    <el-table :data="tableData" style="width: 100%" border>
      <el-table-column prop="date" label="Date" width="180" align="center" />
      <el-table-column prop="name" label="Name" width="180" align="center" />
      <el-table-column prop="address" label="Address" align="center" />
    </el-table>
  </div>
</template>
<script>
export default {
  data() {
    return {
      tableData: [
        {
          date: "2016-05-03",
          name: "Tom",
          address: "4",
        },
        {
          date: "2016-05-02",
          name: "Tom",
          address: "1",
        },
        {
          date: "2016-05-04",
          name: "Tom",
          address: "1",
        },
        {
          date: "2016-05-01",
          name: "Tom",
          address: "3",
        },
      ],
    };
  },
};
</script>
<style lang="scss" scoped>
.table-box {
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0px 1px 6px 0px rgba(0, 0, 0, 0.05);

  .table-row {
    display: flex;
    .table-col {
      padding: 16px 24px;
      font-size: 14px;
      border: 1px solid red;
    }
  }
  .border-bottom {
    border: 1px solid #eeeeee;
  }
}
.el-table {
  color: #333333;
  // border-radius: 8px 8px 8px 8px;
}
.el-table .el-table__header-wrapper th {
  color: #666666;
}
</style>
